package com.itcncp.ucenter.rpc.api;

import com.itcncp.common.base.BaseService;
import com.itcncp.ucenter.dao.model.UserRechangeOpJnl;
import com.itcncp.ucenter.dao.model.UserRechangeOpJnlExample;

import java.math.BigDecimal;

/**
* UserRechangeOpJnlService接口
* Created by itcncp on 2018/1/12.
*/
public interface UserRechangeOpJnlService extends BaseService<UserRechangeOpJnl, UserRechangeOpJnlExample> {
    /**
     * 创建充值订单
     * @param userId
     * @param amount
     * @param channel
     * @return
     */
    Object pingppRechargeAmount(Long userId, BigDecimal amount, String channel);

    /**
     * 充值成功后处理
     * @param orderNo
     * @param transactionno
     * @param channel
     * @return
     */
    Object pingppRechargeCallBack(Long orderNo,String transactionno,String channel);
}